﻿using System.ComponentModel.DataAnnotations;
using System;
namespace XSTDZ.ERP.Application.DataContracts
{
    /// <summary>
    /// 入库单明细
    /// </summary>
    [Serializable]
    public class ProductInBillDetailDto
    {
        public Guid ID { get; set; }
        public System.Guid ProductInBillID { get; set; }
        [Display(Name = "商品单号")]
        [Required(ErrorMessage = "{0}不能为空！")]
        public Guid ProductInBillNo { get; set; }

        [Display(Name = "入库数量")]
        [Required(ErrorMessage = "{0}不能为空！")]
        public float InlCount { get; set; }
        [Display(Name = "货架号")]
        [Required(ErrorMessage = "{0}不能为空！")]
        public string ShelfNumber { get; set; }
        [Display(Name = "删除状态")]
        public int Deleted { get; set; }
         [Display(Name = "备注")]
        public string Remarks { get; set; }

         public System.Guid ProductID { get; set; }
         [Display(Name = "商品名称")]
         [Required(ErrorMessage = "{0}不能为空！")]
         public string ProductName { get; set; }
    }
}
